package com.ruoyi.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客户公司信息对象 tb_cpad_company
 * 
 * @author ruoyi
 * @date 2024-07-17
 */
public class TbCpadCompany extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 公司名称 */
    @Excel(name = "公司名称")
    private String companyName;

    /** 信用代码 */
    @Excel(name = "信用代码")
    private String creditNo;

    /** 公司地址 */
    @Excel(name = "公司地址")
    private String address;

    /** 联系人 */
    @Excel(name = "联系人")
    private String contactName;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String contactMobile;

    /** 是否合作 */
    @Excel(name = "是否合作")
    private Integer isCooperate;

    /** 同步进度 */
    @Excel(name = "同步进度")
    private Integer progress;

    /** 公司状态 */
    @Excel(name = "公司状态")
    private Integer status;

    /** 业务员id */
    @Excel(name = "业务员id")
    private Long saleId;

    /** 业务员姓名 */
    @Excel(name = "业务员姓名")
    private String saleName;

    /** 是否删除：0否1是 */
    private Integer delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCompanyName(String companyName) 
    {
        this.companyName = companyName;
    }

    public String getCompanyName() 
    {
        return companyName;
    }
    public void setCreditNo(String creditNo) 
    {
        this.creditNo = creditNo;
    }

    public String getCreditNo() 
    {
        return creditNo;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setContactName(String contactName) 
    {
        this.contactName = contactName;
    }

    public String getContactName() 
    {
        return contactName;
    }
    public void setContactMobile(String contactMobile) 
    {
        this.contactMobile = contactMobile;
    }

    public String getContactMobile() 
    {
        return contactMobile;
    }
    public void setIsCooperate(Integer isCooperate) 
    {
        this.isCooperate = isCooperate;
    }

    public Integer getIsCooperate() 
    {
        return isCooperate;
    }
    public void setProgress(Integer progress) 
    {
        this.progress = progress;
    }

    public Integer getProgress() 
    {
        return progress;
    }
    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }
    public void setSaleId(Long saleId) 
    {
        this.saleId = saleId;
    }

    public Long getSaleId() 
    {
        return saleId;
    }
    public void setSaleName(String saleName) 
    {
        this.saleName = saleName;
    }

    public String getSaleName() 
    {
        return saleName;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("companyName", getCompanyName())
            .append("creditNo", getCreditNo())
            .append("address", getAddress())
            .append("contactName", getContactName())
            .append("contactMobile", getContactMobile())
            .append("isCooperate", getIsCooperate())
            .append("progress", getProgress())
            .append("status", getStatus())
            .append("saleId", getSaleId())
            .append("saleName", getSaleName())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("updateTime", getUpdateTime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
